package com.shop.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品库存表
 * </p>
 *
 * @author 靳 旺
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("commodity_warehouse_relation")
public class CommodityWarehouseRelationDo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品库存id
     */
    @TableId(value = "pk_warehouse_commodity_id", type = IdType.AUTO)
    private Long pkWarehouseCommodityId;

    /**
     * 商品id
     */
    private Long fkCommodityId;

    /**
     * 仓库id
     */
    private Long fkWarehouseInfoId;

    /**
     * 颜色id
     */
    private Long fkCommodityColorId;

    /**
     * 尺寸id
     */
    private Long fkCommoditySizeId;

    /**
     * 当前商品数量
     */
    private Long currentCommodityNumber;

    /**
     * 创建人id
     */
    private Long createId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 假删除:N：未删除Y：已删除
     */
    private String isDel;


}
